#pragma once

void StartMemoryLeakTest();
int GetNewCountTestResult();
#define CheckMemoryLeaks() CHECK_EQUAL(0, GetNewCountTestResult())

void* operator new(size_t size) throw (std::bad_alloc);
void* operator new[](size_t size) throw (std::bad_alloc);
void operator delete[](void* p) throw();
void operator delete(void* p) throw();
